.class Lcom/instagram/android/model/b/d;
.super Lcom/fasterxml/jackson/databind/JsonSerializer;
.source "LocalUserSerializer.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/fasterxml/jackson/databind/JsonSerializer",
        "<",
        "Lcom/instagram/android/model/b/e;",
        ">;"
    }
.end annotation


# direct methods
.method constructor <init>()V
    .locals 0

    .prologue
    .line 12
    invoke-direct {p0}, Lcom/fasterxml/jackson/databind/JsonSerializer;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/instagram/android/model/b/e;Lcom/fasterxml/jackson/a/h;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 17
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/h;->writeStartObject()V

    .line 18
    const-string v0, "id"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 19
    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->n()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 20
    const-string v0, "biography"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 22
    :cond_0
    const-string v0, "blocking"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->u()Z

    move-result v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeBooleanField(Ljava/lang/String;Z)V

    .line 23
    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->o()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 24
    const-string v0, "external_url"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->o()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 26
    :cond_1
    const-string v0, "follower_count"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->p()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 27
    const-string v0, "following_count"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->q()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 28
    const-string v0, "follow_status"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->B()Lcom/instagram/android/model/b/g;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 29
    const-string v0, "full_name"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 31
    const-string v0, "is_staff"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->l()Z

    move-result v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeBooleanField(Ljava/lang/String;Z)V

    .line 32
    const-string v0, "usertag_review_enabled"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->m()Z

    move-result v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeBooleanField(Ljava/lang/String;Z)V

    .line 34
    const-string v0, "last_follow_status"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->x()Lcom/instagram/android/model/b/g;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 35
    const-string v0, "media_count"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->r()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 36
    const-string v0, "privacy_status"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->A()Lcom/instagram/android/model/b/h;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 37
    const-string v0, "profile_pic_url"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->j()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 38
    const-string v0, "username"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 39
    const-string v0, "geo_media_count"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->c()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 40
    const-string v0, "usertags_count"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->d()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeObjectField(Ljava/lang/String;Ljava/lang/Object;)V

    .line 41
    const-string v0, "is_verified"

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->e()Z

    move-result v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeBooleanField(Ljava/lang/String;Z)V

    .line 42
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/h;->writeEndObject()V

    .line 43
    return-void
.end method

.method public synthetic serialize(Ljava/lang/Object;Lcom/fasterxml/jackson/a/h;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"

    .prologue
    .line 12
    check-cast p1, Lcom/instagram/android/model/b/e;

    .end local p1
    invoke-virtual {p0, p1, p2, p3}, Lcom/instagram/android/model/b/d;->a(Lcom/instagram/android/model/b/e;Lcom/fasterxml/jackson/a/h;Lcom/fasterxml/jackson/databind/SerializerProvider;)V

    return-void
.end method
